home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Reusable Classes_Code / User Interface / Saving Listbox / ReadMe < prev    next >
Text File  |  1999-10-21  |  607b  |  16 lines

  1. Saving Listbox 1.0
  2. ©1999 Adam Robinson
  3.  
  4. The Saving Listbox class is a subclass of the Listbox class that allows a listbox (single- or multi-column) to be saved to a file, and loaded later.
  5.  
  6. The two methods you should know about are:
  7.  
  8. Save stream,close
  9.  
  10. stream as binarystream - a binarystream object pointing to an open stream containing the listbox data.
  11. close as boolean - if True, it will close the stream for you.
  12.  
  13. Load stream,close
  14.  
  15. stream as binarystream - a binarystream object pointing to an open stream where the listbox data should go.
  16. close as boolean - if True, it will close the stream for you.